export default {
	data() {
		return {
			title: '',
			domainUrl: '',
		}
	},
	methods: {
		setNavigationBarTitle(option){
			if (option) {
				if (option.title) {
					this.title=option.title
					uni.setNavigationBarTitle({
						title: option.title
					})
				}
				if (option.domainUrl) {
					this.domainUrl = option.domainUrl
				}
			}
		}
	}
}
